-- GENERATED SPELL FOR [Seductress] --


function spell0_17399(pUnit, Event) --@Lash of Pain,n/a--
pUnit:FullCastSpellOnTarget(32202,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_17399', 590, 1)
end

function spell1_17399(pUnit, Event) --@Seduction,n/a--
pUnit:FullCastSpellOnTarget(31865,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_17399', 6500, 1)
end

function Sorts_17399(pUnit, Event)
local choix_sorts_17399 = math.random(0, 1)
if choix_sorts_17399 == 0 then
pUnit:RegisterEvent('spell0_17399', 1, 1)
end
if choix_sorts_17399 == 1 then
pUnit:RegisterEvent('spell1_17399', 1, 1)
end
end

function mob17399_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_17399', math.random(1500, 3000), 1)
end

function mob17399_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob17399_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob17399_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(17399, 1, 'mob17399_Action')
RegisterUnitEvent(17399, 2, 'mob17399_Leave')
RegisterUnitEvent(17399, 3, 'mob17399_Kill')
RegisterUnitEvent(17399, 4, 'mob17399_Die')
